// 引入express
let express = require('express');
// 初始化router实例对象
let router = express.Router();

// 引入首页显示控制器
let showIndexController = require('../controller/showIndexController');

// 监听首页请求
router.get('/', showIndexController.showIndex);

// 导出路由对象
module.exports = router;